﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using XPMVC.Controllers;

namespace XPMVC
{
    public partial class Members : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            MemberController mc = new MemberController();

            members.DataSource = mc.AllMembers();
            members.DataBind();
        }
    }
}